	   <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
   <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
   <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
	<style>
		#metable{
			width:100%;
		}
		#metable th{
			text-align:center;
		}
		#metable td{
			text-align:center;
		}
	</style>
	<include file='Public/header' />
	<include file='pageheader'/>
	
	<form action="{:U('search')}" method="post" class="navbar-form navbar-left">
			<include file="Public/search"/>	
	</form>
	<a class="pull-right" href="{:U('index')}">已审核活动</a>

	<table id="metable" class='table-hover'>
<tr><th>活动名称</th><th>活动地点</th><th>点击量</th><th>活动时间</th><th>发布时间</th><th colspan='2'>操作</th></tr>

<volist name="list" id='vo'>
	<tr>
		<td><a href="{:U('show',array('id'=>$vo['yjl_id']))}}">{$vo.yjl_name}</a></td>
		<td>{$vo.yjl_place}</td>			
		<td>{$vo.yjl_hit}</td>
		<td>{$vo.yjl_ptime}</td>
		<td>{$vo.yjl_pdate}</td>
		<td>
		<a href="javascript:if(confirm('确认通过?')) location='{:U('pass',array('yjl_id'=>$vo['yjl_id'],'yjl_check'=>1))}}'"> 通过</a>
		<a href='#' data-toggle="modal" 
   data-target="#myModal{$vo.yjl_id}" >  |  驳回</a>
   
   
   <!-- 模态框（Modal） -->
<div class="modal fade" id="myModal{$vo.yjl_id}" tabindex="-1" role="dialog" 
   aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="myModalLabel">
               驳回信息
            </h4>
         </div>
		 <form action="{:U('Messages/nopass')}" method="POST">
		 
		 <!--接收者-->
		 <input type="hidden" name="stunum" value="{$vo['yjl_stunum']}">
		 
		 <!--隐藏的id-->
		 <input type="hidden" name="id" value="{$vo.yjl_id}">
		 <input type="hidden" name="tbl" value="practices">
		 <!--消息的内容-->
         <div class="modal-body">
            <textarea class="form-control" rows="8" name="content" ></textarea>
         </div>
         <div class="modal-footer">
            <button type="button" class="btn btn-default" 
               data-dismiss="modal">关闭
            </button>
            <button type="submit" class="btn btn-primary">
              确定
            </button>
         </div>
		</form>
      </div><!-- /.modal-content -->
	</div><!-- /.modal -->		
		</td>
	</tr>
</volist>
</table>
<div class="text-center">
	<ul class="pagination">{$page}</ul>
</div>
<include file='Public/footer'/>